package com.sg.qcgl.client.ball_team;

import com.sg.qcgl.client.ball_team.dto.BallTeamDTO;
import com.sg.qcgl.client.ball_team.vo.BallTeamVO;
import org.springframework.cloud.openfeign.SpringQueryMap;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RequestBody;
import com.aimoss.core.dto.MultiResponse;
import com.aimoss.core.dto.SingleResponse;

public interface BallTeamServiceClient {

    @PostMapping(value = "/list")
    MultiResponse<BallTeamVO> list(@RequestBody BallTeamDTO ballTeamDTO);

    @GetMapping(value = "/{id}")
    SingleResponse<BallTeamVO> findById(Long id) ;


}
